    <div class="container">
      <div class="bg-putih">

        <div class="jdl-page">
          <?php echo isset($judul)?$judul:'<font color="#ccc">Judul Belum Diberikan</font>'; ?>
          <div class="clearfix"></div>
        </div>
        
        <?php echo display_flash(); ?>
        
        <?php echo form_open(uri_string(), array('class' => 'form-horizontal', 'role' => 'form', 'id' => 'form')); ?>
          <div class="form-group">
            <label class="col-xs-3">Nama Depan</label>
            <div class="col-xs-6">
              <?php echo form_input($first_name);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Nama Belakang</label>
            <div class="col-xs-7">
              <?php echo form_input($last_name);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Nama Panggilan</label>
            <div class="col-xs-4">
              <?php echo form_input($nickname);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Nama Pengguna</label>
            <div class="col-xs-4">
              <?php echo form_input($username);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Email</label>
            <div class="col-xs-5">
              <?php echo form_input($email);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Kata Sandi</label>
            <div class="col-xs-3">
              <?php echo form_input($password);?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-3">Konfirmasi Kata Sandi</label>
            <div class="col-xs-3">
              <?php echo form_input($password_confirm);?>
            </div>
          </div>

          <?php if ($this->ion_auth->in_group(array($this->config->item('super_admin_group','ion_auth'),$this->config->item('admin_group','ion_auth')))): ?>
          <div class="form-group">
            <label class="col-xs-3">Bagian dari Grup</label>
            <div class="col-xs-9">
            <?php foreach ($groups as $group):?>
            <?php
                $gID=$group['id'];
                $checked = null;
                $item = null;
                foreach($currentGroups as $grp) {
                    if ($gID == $grp->id) {
                        $checked= ' checked="checked"';
                    break;
                    }
                }
            ?> 

              <div class="checkbox checkbox-inline checkbox-success">
                  <input type="checkbox" name="groups[]" class="styled" value="<?php echo $group['id'];?>" id="<?php echo $group['id'];?>" <?php echo $checked;?>>
                  <label for="<?php echo $group['id'];?>"> <?php echo ucwords(str_replace('_', ' ', $group['name']));?></label>
              </div>
            <?php endforeach; ?>
            </div>
          </div>
          <?php endif?>

          <div class="form-group">
            <div class="col-xs-12">
              <button type="submit" class="btn btn-primary btn-sm">Simpan Perubahan</button>
            </div>
          </div>

        <?php echo form_input($company);?>
        <?php echo form_input($phone);?>
        <?php echo form_hidden('id', $user->id);?>
        <?php echo form_close(); ?>

        <div class="clearfix"></div>
      </div>
    </div> <!-- /container -->